package com.tjmc.company.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 职位自动刷新日志
 *
 * @author recruit
 * @date 2024-12-06 15:16:28
 */
@Data
@TableName("auto_refresh_log")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "职位自动刷新日志")
public class AutoRefreshLogEntity extends Model<AutoRefreshLogEntity> {


	/**
	* id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="id")
    private Long id;

	/**
	 * 刷新目标：职位、简历
	 */
	@Schema(description="刷新目标：职位、简历")
	private String refreshTarget;

	/**
	 * 个人用户id
	 */
	@Schema(description="个人用户id")
	private String personalUserId;

	/**
	* 职位ID
	*/
    @Schema(description="职位ID")
    private Long jobId;

	/**
	* 职位名称
	*/
    @Schema(description="职位名称")
    private String jobName;

	/**
	* 企业ID
	*/
    @Schema(description="企业ID")
    private Long companyId;

	/**
	* 刷新类型:手动、自动
	*/
    @Schema(description="刷新类型:手动、自动")
    private String refreshType;

	/**
	* 创建时间
	*/
    @Schema(description="创建时间")
    private LocalDateTime createdAt;
}
